package com.yanqu.road.entity.activity.summergames.cross;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_summer_games_user_data")
public class CrossSummerGamesUserData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;

    @FieldTypeAnnotation(select = true, update = true, desc = "玩家ID")
    private long userId;

    @FieldTypeAnnotation(desc = "是否接收指定申请")
    private int receiveSet;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getReceiveSet() {
        return receiveSet;
    }

    public void setReceiveSet(int receiveSet) {
        if(this.receiveSet != receiveSet) {
            this.receiveSet = receiveSet;
            setUpdateOption();
        }
    }
}
